Conversation
added 2 commits
April 16, 2026 13:17
Typing 'gx' now performs a lightweight OpenSpec package freshness check (interactive by default), then offers an explicit y/n prompt to run both the npm upgrade and openspec tool refresh command. This keeps the existing guardex self-update path intact while extending the same explicit-consent behavior to OpenSpec updates. The check is skipped in non-interactive shells unless explicitly forced via env for automation/tests. Constraint: Keep startup flow non-destructive and explicit-consent only Rejected: Auto-running openspec upgrades without prompt | too side-effectful for default status invocation Confidence: high Scope-risk: narrow Reversibility: clean Directive: Keep OpenSpec prompt strict [y/n]; do not reintroduce implicit Enter acceptance Tested: npm test --silent; node --check bin/multiagent-safety.js; git diff --check Not-tested: Interactive terminal prompt UX with real user input
Add repository-local Usage: scripts/openspec/init-change-workspace.sh <change-slug> [capability-slug] Example: scripts/openspec/init-change-workspace.sh add-dashboard-live-usage runtime-migration so the branch-start OpenSpec bootstrap can initialize change artifacts directly in active worktrees without relying on template-only assets. Constraint: Existing branch-start and codex-agent bootstrap flow already expects local helper scripts in sandbox worktrees Rejected: Keep change-workspace scaffold only under templates/ | runtime worktrees can miss helper parity when local script is absent Confidence: high Scope-risk: narrow Directive: Keep local openspec helper scripts in sync with template counterparts to avoid bootstrap drift Tested: node --test test/install.test.js Not-tested: Full test matrix beyond install suite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated by scripts/agent-branch-finish.sh (PR flow).